package streamdef;

public class ConditionStatementFieldFromTwoStreams extends ConditionStatement {
	public Long internalStreamID1;
	public Long internalStreamID2;
	public String field1;
	public String field2;
	public DEFINES.FieldRelationType relation;

	public ConditionStatementFieldFromTwoStreams(Long _internalStreamID1,
			String _field1, Long _internalStreamID2, String _field2,
			DEFINES.FieldRelationType _relation) {
		type = DEFINES.ConditionStatementType.FIELD_TWOSTREAMS;
		internalStreamID1 = _internalStreamID1;
		field1 = _field1;
		internalStreamID2 = _internalStreamID2;
		field2 = _field2;
		relation = _relation;
	}

	public Long getInternalStreamIDLeft() {
		return internalStreamID1;
	}

	public Long getInternalStreamIDRight() {
		return internalStreamID2;
	}

	public String getFieldLeft() {
		return field1;
	}

	public String getFieldRight() {
		return field2;
	}

	public DEFINES.FieldRelationType getRelation() {
		return relation;
	}
}
